#include "viconconnection.h"

VICONConnection::VICONConnection()
{
    //TODO
    int *ipAddress = new int[4];

    *(ipAddress) = 131;
    *(ipAddress + 1) = 181;
    *(ipAddress + 2) = 87;
    *(ipAddress + 3) = 177;

    setIPAddress(ipAddress);
}

/*
  sendMessge

  Desc - Sends a message to the device
*/
void VICONConnection::sendMessge(QString message, QString *parameters, int parameterCount)
{
    //TODO
}

/*
  startConnection

  Desc - Starts the connection to the device
*/
void VICONConnection::startConnection()
{
    //TODO
}

/*
  endConnection

  Desc - Ends the connection to the device
*/
void VICONConnection::endConnection()
{
    //TODO
}

/*
  getConnectionStatus

  Desc - Returns the connection status
*/
GCSCommon::ConnectionStatus VICONConnection::getConnectionStatus()
{
    //TODO
}


// slots

/*
  sendVICONMessage

  Desc - Sends a message to the VICON
*/
void VICONConnection::sendVICONMessage(GCSCommon::VICONCommands command, GCSCommon::VICONParams *paramArray, int paramCount)
{
    //TODO
}

/*
  processVICONMessage

  Desc - Processes an incoming VICON message
*/
void VICONConnection::processVICONMessage()
{
    //TODO
}
